/*
 * Powered By www.cardmee.net
 */
package com.ns.school.service.wave;

import com.ns.school.po.edu.LayuiResult;
import com.ns.school.po.sys.User;
import com.ns.school.po.wave.WaveDevicePO;
import com.ns.school.po.wave.WaveRequestDetailPO;
import com.ns.school.common.base.R;

import java.util.List;
import java.util.Map;

/**
 * @author wt-97
 */
public interface WaveRequestDetailService {



    /**
     * 查询全部
     */
    List<WaveRequestDetailPO> queryList(WaveRequestDetailPO params);

    /**
     * 查询全部(分页)
     */
    R<List<?>> queryPageList(WaveRequestDetailPO params);

    /**
     * 查询总数
     */
    int queryCount(WaveRequestDetailPO params);

    /**
     * 新增
     */
    R<?> insert(WaveRequestDetailPO params);

    /**
     * 批量新增
     */
    R<?> insertBatch(List<WaveRequestDetailPO> list);

    /**
     * 更新
     */
    R<?> update(WaveRequestDetailPO params);

    /**
     * 删除
     */
    R<?> updateDel(WaveRequestDetailPO params);

    List<WaveDevicePO> queryAllName(Map<String, Object> map);

    List<User> selectAllNames(Map<String, Object> map);

    WaveRequestDetailPO selectWaveRequest(Integer id);

    R<?> updateDelAll(WaveRequestDetailPO params, String ids);

    int checkRequest(WaveRequestDetailPO waveRequestDetailPO);

    void auditRequest(LayuiResult result,Integer id);

    int checkRequestFail(Integer id);
}
